package com.ziyucoding.springboot.labs.lab3.sca.rocketmqdemo.dtd.order.service;

import com.ziyucoding.springboot.labs.lab3.sca.rocketmqdemo.dtd.order.dto.OrderDTO;
import org.apache.rocketmq.client.exception.MQClientException;

/**
 * 订单服务接口
 *
 * @author ziyucoding
 * @date 2023-04-02
 **/
public interface OrderService {

    public void createOrder(OrderDTO orderDTO, String transactionId);

    public void createOrder(OrderDTO order) throws MQClientException;
}
